package com.shop.czlmshop.service;

import com.shop.czlmshop.mapper.CategoryMapper;
import com.shop.czlmshop.pojo.Category;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author: xmy
 * @Date: 2019-05-05 9:53
 * @Version 1.0
 */
@Service
public class CategoryServiceImpl implements CategoryService {

    @Resource
    private CategoryMapper categoryMapper;

    /**
     * @description: 查询分类
     * @param: null
     * @return: null
     * @auther: XMY
     * @date: 2019-05-05 9:50
     */
    @Override
    public List<Category> selCategory() {
        return categoryMapper.selCategory();
    }
}
